package com.gohi.main.store.hbm;

import java.util.ArrayList;
import java.util.List;

/**
 * <B></B>
 * 
 * @author 肖得明<br>
 *         2015年4月13日13时39分54秒
 */
public class ShopgooStore extends com.gohi.core.model.BaseModel {
	// 线下商城ID
	private Integer store_id;
	// 账号
	private String account;
	// 密码
	private String password;
	// 分类ID
	private Integer class_id;
	// 分类ID
	private Integer s_class_id;
	// 线下店铺名称
	private String store_name;
	// 别名
	private String alisa;
	// 点击数
	private Integer store_click;
	// 评论数
	private Integer comment_count;
	// 团购数
	private Integer groupbuy_num;
	// 人均消费
	private Integer person_consume;
	// 联系电话
	private String telephone;
	// 市城ID
	private Integer city_id;
	// 区域ID
	private Integer area_id;
	// 商区ID
	private Integer mall_id;
	// 地址
	private String address;
	// 描述
	private String description;
	// 商铺Logo
	private String logo;
	// 商铺图片
	private String pic;
	// 靠近
	private String side;
	// 营业时间
	private String business_hour;
	//
	private String business_hour_start;
	//
	private String business_hour_end;
	// 公交线路
	private String bus;
	// 地铁线路
	private String subway;
	// 地图
	private String map;
	// 开店时间
	private Integer add_time;
	// 标签
	private String label;
	// 0.未开启 1.开启
	private String is_card;
	// 会员卡折扣
	private String card_discount;
	// 会员卡描述
	private String card_des;
	// 员会卡图片
	private String card_pic;
	// 1.创建 2.开启 3.关闭
	private String store_state;
	// 关闭原因
	private String close_reason;
	// 微信公共账号
	private String wx_account;
	// 微信二维码图片
	private String qr_code;
	// 1.否 2.是
	private String is_brand;
	// 品牌ID
	private Integer brand_id;
	// 1.待审核 2.审核通过 3.审核未通过
	private Integer is_audit;
	// 1.不开启 2.开启
	private Integer is_appointment;
	//
	private String appointment_pic;
	// 邮箱
	private String email;
	// 邮箱验证码
	private String email_code;
	// seo标题
	private String seo_title;
	// seo关键词
	private String seo_keyword;
	// seo描述
	private String seo_description;
	// 1.待审核 2.审核通过 3.审核不通过
	private String is_qr_saft;
	// 是否首页推荐1是0否
	private String store_recommend;
	// 店铺得分
	private Integer store_score;
	// 商户中心头像
	private String avatar;
	// 二级域名
	private String store_subdomain;
	// 店铺的总销量数目
	private Integer sell_count;
	// 技师数量
	private Integer beautician_count;
	// 精度
	private String lat;
	// 维度
	private String lng;

	private String minprice;

	private String maxprice;
	//商圈的ID
	private Integer area_business_id;
	
	private Integer business_starttime;
	private Integer business_endtime;
	
	private  Integer  temai_flag;//特卖标致0为没有  1为有特卖
	
	
	
	public Integer getTemai_flag() {
		return temai_flag;
	}

	public void setTemai_flag(Integer temai_flag) {
		this.temai_flag = temai_flag;
	}

	public Integer getBusiness_starttime() {
		return business_starttime;
	}

	public void setBusiness_starttime(Integer business_starttime) {
		this.business_starttime = business_starttime;
	}

	public Integer getBusiness_endtime() {
		return business_endtime;
	}

	public void setBusiness_endtime(Integer business_endtime) {
		this.business_endtime = business_endtime;
	}

	//
	private List<String> piclist = new ArrayList<String>();
	private String sorttype; // 1位desc 0asc
	private String orderby; // 根据那个字段排序
	private String km; // 相差多少KM
	
    private Integer limit;//页码
	
    
    public Integer getLimit() {

		return limit==null?0:limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	
	public Integer getArea_business_id() {
		return area_business_id;
	}

	public void setArea_business_id(Integer area_business_id) {
		this.area_business_id = area_business_id;
	}

	public String getMinprice() {
		return minprice;
	}

	public void setMinprice(String minprice) {
		this.minprice = minprice;
	}

	public String getMaxprice() {
		return maxprice;
	}

	public void setMaxprice(String maxprice) {
		this.maxprice = maxprice;
	}

	public Integer getBeautician_count() {
		if (beautician_count == null) {
			return 0;
		}
		return beautician_count;
	}

	public void setBeautician_count(Integer beautician_count) {
		this.beautician_count = beautician_count;
	}

	public List<String> getPiclist() {
		return piclist;
	}

	public void setPiclist(List<String> piclist) {
		this.piclist = piclist;
	}

	public String getKm() {
		if (km == null) {
			return "未知";
		}
		return km + "KM";
	}
	
	public void setKm(String km) {

		this.km = km;
	}

	/**
	 * 线下商城ID
	 **/
	public Integer getStore_id() {
		return this.store_id;
	}

	/**
	 * @param store_id
	 *            线下商城ID
	 **/
	public Integer setStore_id(Integer store_id) {
		return this.store_id = store_id;
	}

	/**
	 * 账号
	 **/
	public String getAccount() {
		return this.account;
	}

	/**
	 * @param account
	 *            账号
	 **/
	public String setAccount(String account) {
		return this.account = account;
	}

	/**
	 * 密码
	 **/
	public String getPassword() {
		return this.password;
	}

	/**
	 * @param password
	 *            密码
	 **/
	public String setPassword(String password) {
		return this.password = password;
	}

	/**
	 * 分类ID
	 **/
	public Integer getClass_id() {
		return this.class_id;
	}

	/**
	 * @param class_id
	 *            分类ID
	 **/
	public Integer setClass_id(Integer class_id) {
		return this.class_id = class_id;
	}

	/**
	 * 分类ID
	 **/
	public Integer getS_class_id() {
		return this.s_class_id;
	}

	/**
	 * @param s_class_id
	 *            分类ID
	 **/
	public Integer setS_class_id(Integer s_class_id) {
		return this.s_class_id = s_class_id;
	}

	/**
	 * 线下店铺名称
	 **/
	public String getStore_name() {
		return this.store_name;
	}

	/**
	 * @param store_name
	 *            线下店铺名称
	 **/
	public String setStore_name(String store_name) {
		return this.store_name = store_name;
	}

	/**
	 * 别名
	 **/
	public String getAlisa() {
		return this.alisa;
	}

	/**
	 * @param alisa
	 *            别名
	 **/
	public String setAlisa(String alisa) {
		return this.alisa = alisa;
	}

	/**
	 * 点击数
	 **/
	public Integer getStore_click() {
		return this.store_click;
	}

	/**
	 * @param store_click
	 *            点击数
	 **/
	public Integer setStore_click(Integer store_click) {
		return this.store_click = store_click;
	}

	/**
	 * 评论数
	 **/
	public Integer getComment_count() {
		return this.comment_count == null ? 0 : comment_count;
	}

	/**
	 * @param comment_count
	 *            评论数
	 **/
	public Integer setComment_count(Integer comment_count) {
		return this.comment_count = comment_count;
	}

	/**
	 * 团购数
	 **/
	public Integer getGroupbuy_num() {
		return this.groupbuy_num;
	}

	/**
	 * @param groupbuy_num
	 *            团购数
	 **/
	public Integer setGroupbuy_num(Integer groupbuy_num) {
		return this.groupbuy_num = groupbuy_num;
	}

	/**
	 * 人均消费
	 **/
	public Integer getPerson_consume() {
		return this.person_consume;
	}

	/**
	 * @param person_consume
	 *            人均消费
	 **/
	public Integer setPerson_consume(Integer person_consume) {
		return this.person_consume = person_consume;
	}

	/**
	 * 联系电话
	 **/
	public String getTelephone() {
		return this.telephone;
	}

	/**
	 * @param telephone
	 *            联系电话
	 **/
	public String setTelephone(String telephone) {
		return this.telephone = telephone;
	}

	/**
	 * 市城ID
	 **/
	public Integer getCity_id() {
		return this.city_id;
	}

	/**
	 * @param city_id
	 *            市城ID
	 **/
	public Integer setCity_id(Integer city_id) {
		return this.city_id = city_id;
	}

	/**
	 * 区域ID
	 **/
	public Integer getArea_id() {
		return this.area_id;
	}

	/**
	 * @param area_id
	 *            区域ID
	 **/
	public Integer setArea_id(Integer area_id) {
		return this.area_id = area_id;
	}

	/**
	 * 商区ID
	 **/
	public Integer getMall_id() {
		return this.mall_id;
	}

	/**
	 * @param mall_id
	 *            商区ID
	 **/
	public Integer setMall_id(Integer mall_id) {
		return this.mall_id = mall_id;
	}

	/**
	 * 地址
	 **/
	public String getAddress() {
		return this.address;
	}

	/**
	 * @param address
	 *            地址
	 **/
	public String setAddress(String address) {
		return this.address = address;
	}

	/**
	 * 描述
	 **/
	public String getDescription() {
		return this.description;
	}

	/**
	 * @param description
	 *            描述
	 **/
	public String setDescription(String description) {
		return this.description = description;
	}

	/**
	 * 商铺Logo
	 **/
	public String getLogo() {
		return this.logo;
	}

	/**
	 * @param logo
	 *            商铺Logo
	 **/
	public String setLogo(String logo) {
		return this.logo = logo;
	}

	/**
	 * 商铺图片
	 **/
	public String getPic() {
		return this.pic;
	}

	/**
	 * @param pic
	 *            商铺图片
	 **/
	public String setPic(String pic) {
		return this.pic = pic;
	}

	/**
	 * 靠近
	 **/
	public String getSide() {
		return this.side;
	}

	/**
	 * @param side
	 *            靠近
	 **/
	public String setSide(String side) {
		return this.side = side;
	}

	/**
	 * 营业时间
	 **/
	public String getBusiness_hour() {
		return this.business_hour;
	}

	/**
	 * @param business_hour
	 *            营业时间
	 **/
	public String setBusiness_hour(String business_hour) {
		return this.business_hour = business_hour;
	}

	/**
     *
     **/
	public String getBusiness_hour_start() {
		return this.business_hour_start;
	}

	/**
	 * @param business_hour_start
	 **/
	public String setBusiness_hour_start(String business_hour_start) {
		return this.business_hour_start = business_hour_start;
	}

	/**
     *
     **/
	public String getBusiness_hour_end() {
		return this.business_hour_end;
	}

	/**
	 * @param business_hour_end
	 **/
	public String setBusiness_hour_end(String business_hour_end) {
		return this.business_hour_end = business_hour_end;
	}

	/**
	 * 公交线路
	 **/
	public String getBus() {
		return this.bus;
	}

	/**
	 * @param bus
	 *            公交线路
	 **/
	public String setBus(String bus) {
		return this.bus = bus;
	}

	/**
	 * 地铁线路
	 **/
	public String getSubway() {
		return this.subway;
	}

	/**
	 * @param subway
	 *            地铁线路
	 **/
	public String setSubway(String subway) {
		return this.subway = subway;
	}

	/**
	 * 地图
	 **/
	public String getMap() {
		return this.map;
	}

	/**
	 * @param map
	 *            地图
	 **/
	public String setMap(String map) {
		return this.map = map;
	}

	/**
	 * 开店时间
	 **/
	public Integer getAdd_time() {
		return this.add_time;
	}

	/**
	 * @param add_time
	 *            开店时间
	 **/
	public Integer setAdd_time(Integer add_time) {
		return this.add_time = add_time;
	}

	/**
	 * 标签
	 **/
	public String getLabel() {
		return this.label;
	}

	/**
	 * @param label
	 *            标签
	 **/
	public String setLabel(String label) {
		return this.label = label;
	}

	/**
	 * 0.未开启 1.开启
	 **/
	public String getIs_card() {
		return this.is_card;
	}

	/**
	 * @param is_card
	 *            0.未开启 1.开启
	 **/
	public String setIs_card(String is_card) {
		return this.is_card = is_card;
	}

	/**
	 * 会员卡折扣
	 **/
	public String getCard_discount() {
		return this.card_discount;
	}

	/**
	 * @param card_discount
	 *            会员卡折扣
	 **/
	public String setCard_discount(String card_discount) {
		return this.card_discount = card_discount;
	}

	/**
	 * 会员卡描述
	 **/
	public String getCard_des() {
		return this.card_des;
	}

	/**
	 * @param card_des
	 *            会员卡描述
	 **/
	public String setCard_des(String card_des) {
		return this.card_des = card_des;
	}

	/**
	 * 员会卡图片
	 **/
	public String getCard_pic() {
		return this.card_pic;
	}

	/**
	 * @param card_pic
	 *            员会卡图片
	 **/
	public String setCard_pic(String card_pic) {
		return this.card_pic = card_pic;
	}

	/**
	 * 1.创建 2.开启 3.关闭
	 **/
	public String getStore_state() {
		return this.store_state;
	}

	/**
	 * @param store_state
	 *            1.创建 2.开启 3.关闭
	 **/
	public String setStore_state(String store_state) {
		return this.store_state = store_state;
	}

	/**
	 * 关闭原因
	 **/
	public String getClose_reason() {
		return this.close_reason;
	}

	/**
	 * @param close_reason
	 *            关闭原因
	 **/
	public String setClose_reason(String close_reason) {
		return this.close_reason = close_reason;
	}

	/**
	 * 微信公共账号
	 **/
	public String getWx_account() {
		return this.wx_account;
	}

	/**
	 * @param wx_account
	 *            微信公共账号
	 **/
	public String setWx_account(String wx_account) {
		return this.wx_account = wx_account;
	}

	/**
	 * 微信二维码图片
	 **/
	public String getQr_code() {
		return this.qr_code;
	}

	/**
	 * @param qr_code
	 *            微信二维码图片
	 **/
	public String setQr_code(String qr_code) {
		return this.qr_code = qr_code;
	}

	/**
	 * 1.否 2.是
	 **/
	public String getIs_brand() {
		return this.is_brand;
	}

	/**
	 * @param is_brand
	 *            1.否 2.是
	 **/
	public String setIs_brand(String is_brand) {
		return this.is_brand = is_brand;
	}

	/**
	 * 品牌ID
	 **/
	public Integer getBrand_id() {
		return this.brand_id;
	}

	/**
	 * @param brand_id
	 *            品牌ID
	 **/
	public Integer setBrand_id(Integer brand_id) {
		return this.brand_id = brand_id;
	}

	/**
	 * 1.待审核 2.审核通过 3.审核未通过
	 **/
	public Integer getIs_audit() {
		return this.is_audit;
	}

	/**
	 * @param is_audit
	 *            1.待审核 2.审核通过 3.审核未通过
	 **/
	public Integer setIs_audit(Integer is_audit) {
		return this.is_audit = is_audit;
	}

	/**
	 * 1.不开启 2.开启
	 **/
	public Integer getIs_appointment() {
		return this.is_appointment;
	}

	/**
	 * @param is_appointment
	 *            1.不开启 2.开启
	 **/
	public Integer setIs_appointment(Integer is_appointment) {
		return this.is_appointment = is_appointment;
	}

	/**
     *
     **/
	public String getAppointment_pic() {
		return this.appointment_pic;
	}

	/**
	 * @param appointment_pic
	 **/
	public String setAppointment_pic(String appointment_pic) {
		return this.appointment_pic = appointment_pic;
	}

	/**
	 * 邮箱
	 **/
	public String getEmail() {
		return this.email;
	}

	/**
	 * @param email
	 *            邮箱
	 **/
	public String setEmail(String email) {
		return this.email = email;
	}

	/**
	 * 邮箱验证码
	 **/
	public String getEmail_code() {
		return this.email_code;
	}

	/**
	 * @param email_code
	 *            邮箱验证码
	 **/
	public String setEmail_code(String email_code) {
		return this.email_code = email_code;
	}

	/**
	 * seo标题
	 **/
	public String getSeo_title() {
		return this.seo_title;
	}

	/**
	 * @param seo_title
	 *            seo标题
	 **/
	public String setSeo_title(String seo_title) {
		return this.seo_title = seo_title;
	}

	/**
	 * seo关键词
	 **/
	public String getSeo_keyword() {
		return this.seo_keyword;
	}

	/**
	 * @param seo_keyword
	 *            seo关键词
	 **/
	public String setSeo_keyword(String seo_keyword) {
		return this.seo_keyword = seo_keyword;
	}

	/**
	 * seo描述
	 **/
	public String getSeo_description() {
		return this.seo_description;
	}

	/**
	 * @param seo_description
	 *            seo描述
	 **/
	public String setSeo_description(String seo_description) {
		return this.seo_description = seo_description;
	}

	/**
	 * 1.待审核 2.审核通过 3.审核不通过
	 **/
	public String getIs_qr_saft() {
		return this.is_qr_saft;
	}

	/**
	 * @param is_qr_saft
	 *            1.待审核 2.审核通过 3.审核不通过
	 **/
	public String setIs_qr_saft(String is_qr_saft) {
		return this.is_qr_saft = is_qr_saft;
	}

	/**
	 * 是否首页推荐1是0否
	 **/
	public String getStore_recommend() {
		return this.store_recommend;
	}

	/**
	 * @param store_recommend
	 *            是否首页推荐1是0否
	 **/
	public String setStore_recommend(String store_recommend) {
		return this.store_recommend = store_recommend;
	}

	/**
	 * 店铺得分
	 **/
	public Integer getStore_score() {
		return this.store_score == 0 ? 1 : store_score;
	}

	/**
	 * @param store_score
	 *            店铺得分
	 **/
	public Integer setStore_score(Integer store_score) {
		return this.store_score = store_score;
	}

	/**
	 * 商户中心头像
	 **/
	public String getAvatar() {
		return this.avatar;
	}

	/**
	 * @param avatar
	 *            商户中心头像
	 **/
	public String setAvatar(String avatar) {
		return this.avatar = avatar;
	}

	/**
	 * 二级域名
	 **/
	public String getStore_subdomain() {
		return this.store_subdomain;
	}

	/**
	 * @param store_subdomain
	 *            二级域名
	 **/
	public String setStore_subdomain(String store_subdomain) {
		return this.store_subdomain = store_subdomain;
	}

	/**
	 * 店铺的总销量数目
	 **/
	public Integer getSell_count() {
		return this.sell_count;
	}

	/**
	 * @param sell_count
	 *            店铺的总销量数目
	 **/
	public Integer setSell_count(Integer sell_count) {
		return this.sell_count = sell_count;
	}

	/**
     *
     **/
	public String getLat() {
		return this.lat;
	}

	/**
	 * @param lat
	 **/
	public String setLat(String lat) {
		return this.lat = lat;
	}

	/**
     *
     **/
	public String getLng() {
		return this.lng;
	}

	/**
	 * @param lng
	 **/
	public String setLng(String lng) {
		return this.lng = lng;
	}

	public String getSorttype() {
		return sorttype == null ? "asc" : sorttype;
	}

	public void setSorttype(String sorttype) {
		this.sorttype = sorttype;
	}

	public String getOrderby() {
		return orderby;
	}

	public void setOrderby(String orderby) {
		this.orderby = orderby;
	}

}